#include<iostream>
#include<cmath>

using namespace std;
int main()
{
	
	int i, k;

	for (i = 0; i <= 3; i++)
	{
		for (k = 0; k <= 2 * i; k++)
			cout << "*";
			cout << endl;
	}
	for (i = 0; i <= 2; i++)
	{
		for (k = 0; k <= 4 - 2 * i; k++)
			cout << "*";
		cout << endl;
	}
	return 0;

}